home *** CD-ROM | disk | FTP | other *** search
-
-
-
- FSMAKE User Commands FSMAKE
-
-
-
- _________________________________________________________________
-
- NNAAMMEE
- fsmake - Create a file system on a disk partition.
-
- SSYYNNOOPPSSIISS
- ffssmmaakkee --ddeevv _d_e_v_i_c_e --ppaarrtt _p_a_r_t_i_t_i_o_n [[_o_p_t_i_o_n_s]
-
- OOPPTTIIOONNSS
- --ddeevv _d_e_v_i_c_e _D_e_v_i_c_e is the root name of a device, i.e.
- rxy0, rsd1, rsb0
-
- --ppaarrtt _p_a_r_t_i_t_i_o_n
- _P_a_r_t_i_t_i_o_n is a letter indicating a partition,
- i.e. a, b, c, d, e, f, g.
-
- --ddeevvDDiirr _d_e_v_D_i_r
- _D_e_v_D_i_r is an alternate directory in which to
- find the device file named by concatenating
- _d_e_v_i_c_e and _p_a_r_t_i_t_i_o_n. The default directory
- name is ``/dev``.
-
- --iinniittiiaallPPaarrtt _f_i_r_s_t_P_a_r_t_N_a_m_e
- _f_i_r_s_t_P_a_r_t_N_a_m_e is the name of the initial par-
- tition on the disk which contains basic disk
- geometry information. The default is parti-
- tion ``a''.
-
- --wwrriittee Write the disk. The default is to not write
- the disk.
-
- --oovveerrllaapp Overlap filesystem blocks across track boun-
- daries. The default is to not overlap blocks.
-
- --rraattiioo Ratio of Kbytes to file descriptors. The
- default is 4.
-
- --tteesstt Don't write to the disk. This is the default.
-
- --ssccssii Compute the disk geometry for a SCSI disk. The
- geometry will be laid out to maximize usable
- storage.
-
- --nnoossccssii Compute the disk geometry for a non-SCSI disk.
- The geometry will be laid out to maximize
- transfer bandwidth. The file system currently
- doesn't do anything intelligent when laying
- out a file, so this option is probably not
- worth anything.
-
- --hhoosstt _h_o_s_t_I_D Sets the host id field in the domain header.
- The default is to use the local host id if the
-
-
-
- Sprite v.1.0 Printed: June 13, 1991 1
-
-
-
-
-
-
- FSMAKE User Commands FSMAKE
-
-
-
- device server is the local host, otherwise use
- the device server's id. _H_o_s_t_I_D is either the
- name or Sprite id of the machine to which the
- domain will be attached.
-
- --bboooott _b_o_o_t_S_e_c_t_o_r_s
- Number of sectors in the root partition to
- reserve for the boot program.
-
- --rreeppaarrttiittiioonn This option will change the partitioning of
- the disk. DO NOT USE IF THE DISK CONTAINS A
- FILESYSTEM YOU WISH TO KEEP. Use the --ppaarrtt--
- ddiisskkttaabb option to use the partitioning infor-
- mation in the disktab file, otherwise use the
- --ssiizzee option to set the size of the current
- partition.
-
- --ppaarrttddiisskkttaabb Use in conjunction with the --rreeppaarrttiittiioonn
- option to set the disk partitioning from the
- disktab file.
-
- --ssiizzee _p_e_r_c_e_n_t_a_g_e
- Use in conjunction with the --rreeppaarrttiittiioonn
- option to specify the size of the current par-
- tition as a percentage of the total disk size.
- _P_e_r_c_e_n_t_a_g_e is an integer from 0-100.
-
- --rreeccoonnffiigg Reconfigures the basic disk geometry. DO NOT
- USE IF THE DISK CONTAINS A FILESYSTEM YOU WISH
- TO KEEP. If the disk is a non-scsi disk then
- you must also specify the --ccoonnffiiggddiisskkttaabb
- option which causes the disk geometry to be
- read from the disktab file. If the disk is a
- scsi disk then you may omit the --ccoonnffiiggddiisskkttaabb
- option. _F_s_m_a_k_e will then invent a configura-
- tion that minimizes wasted disk space.
-
- --ccoonnffiiggddiisskkttaabb
- Use in conjunction with the --rreeccoonnffiigg option
- to set the disk configuration (geometry) from
- the disktab file.
-
- --ddiisskkttaabbNNaammee _f_i_l_e_n_a_m_e
- Specify the disktab file. The default is
- /_e_t_c/_d_i_s_k_t_a_b.
-
- --ddiisskkttyyppee _t_y_p_e
- Specify the type of disk. This _t_y_p_e parameter
- must be the type of disk found in the disktab
- file. This option must be present in order to
- use the disktab file.
-
-
-
-
- Sprite v.1.0 Printed: June 13, 1991 2
-
-
-
-
-
-
- FSMAKE User Commands FSMAKE
-
-
-
- --llaabbeellttyyppee _t_y_p_e
- Type of label to write on the disk. The
- default is to write whatever label is
- appropriate for the machine on which ffssmmaakkee is
- run.
-
- --ddiirr _d_i_r_e_c_t_o_r_y
- Copy the specified directory into the newly
- created filesystem.
-
- _________________________________________________________________
-
-
- DDEESSCCRRIIPPTTIIOONN
- FFssmmaakkee will create a Sprite filesystem on a partition. It
- has a large number of options and is intended to be invoked
- from a shell script. FFssmmaakkee's basic function is to create a
- filesystem out of an entire partition by initializing the
- the file descriptor bitmap, data block bitmap and domain
- header, and creating the root and lost+found directories.
- If you desire you can copy a directory tree into the new
- filesystem via the --ddiirr option. The --ddiirr option is intended
- to be used under UNIX. If you need to copy stuff into the
- new filesystem under Sprite use the uuppddaattee command. The
- rest of the options are more complex and probably not used
- often. The disk configuration, such as sectors per track,
- tracks per cylinder, etc, can be set using the --rreeccoonnffiigg
- option. Don't use this option if the disk contains anything
- you want to keep, since it may goof up the size and location
- of the disk partition. If you don't specify the --ccoonnffiigg--
- ddiisskkttaabb option then ffssmmaakkee will make up a configuration that
- minimizes wasted disk space. This only works under Sprite
- and on SCSI disks. The --rreeppaarrttiittiioonn allows you to change
- the partitioning of the disk. The --ppaarrttddiisskkttaabb will set the
- partitioning from the disktab file. Once again, don't use
- this option if there is valuable stuff on the disk since you
- may lose it. If you don't use the --ppaarrttddiisskkttaabb option then
- you have to use the --ssiizzee option to set the size of the
- current partition as a percentage of the total disk size.
- FFssmmaakkee will adjust the start of all paritions that "follow"
- the current one on the disk. Note that ffssmmaakkee assumes an
- ordering on the partitions, ie disk and 'b' is not used. If
- you want to change the size of a bunch of partitions then
- run ffssmmaakkee on the patritions in alphabetical order. That
- should do the right thing. The --rraattiioo option allows you
- change the ratio of file system blocks to file descriptors.
- Non-SCSI disks can have their file system blocks overlap
- track boundaries by specifying the --oovveerrllaapp option. This
- packs more blocks per cylinder.
-
- FFssmmaakkee oonn UUNNIIXX
- The ffssmmaakkee command can be run on a UNIX system to create a
- Sprite filesystem. There are several differences in func-
- tionality. First, ffssmmaakkee cannot make up a configuration for
-
-
-
- Sprite v.1.0 Printed: June 13, 1991 3
-
-
-
-
-
-
- FSMAKE User Commands FSMAKE
-
-
-
- the disk. The configuration must be set from the disktab
- file. Second, the --ddiirr option uses a special mechanism for
- creating Sprite devices. If ffssmmaakkee comes across a file with
- the suffix "SPRITE_DEV" it is assumed to be a placeholder
- for a Sprite device. The contents of the file specify the
- device server, major number and minor number. Lines that
- are blank or begin with '#' are ignored. The file should
- contain one line with three integers -- the device server
- SpriteID, major number (device type), and minor number (dev-
- ice unit).
-
- KKEEYYWWOORRDDSS
- filesystem
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Sprite v.1.0 Printed: June 13, 1991 4
-
-
-
-